<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false" %>
<html>
<body>
<h2>我是服务器：${pageContext.request.localPort}</h2>
<h2>当前sessionId：${pageContext.session.id}</h2>
<h2>登录界面</h2>
<form action="${pageContext.request.contextPath}/login/dologin" method="post">
    姓名：<input type="text" name="userId"> <br><br>
    密码：   <input type="password" name="passWd"> <br><br>
    <input type="submit" value="登录">
</form>
</body>
</html>
